package com.aliyun.oss.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("dish_flavor")
public class dishFlavor {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer dishId;
    private String name;
    private String value;

    public dishFlavor() {
    }

    public dishFlavor(Integer dishId, String name, String value) {
        this.dishId = dishId;
        this.name = name;
        this.value = value;
    }

    @Override
    public String toString() {
        return "dishFlavor{" +
                "id=" + id +
                ", dishId=" + dishId +
                ", name='" + name + '\'' +
                ", value='" + value + '\'' +
                '}';
    }

    public dishFlavor(Integer id, Integer dishId, String name, String value) {
        this.id = id;
        this.dishId = dishId;
        this.name = name;
        this.value = value;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
